package com.feidee.bigdata.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @Author:CHQ
 * @Date:2020/4/7 18:06
 * @Description
 */
@Configuration
public class RequestTool {
    @Bean
    @LoadBalanced
    public RestTemplate RequestTool() {
        return new RestTemplate();
    }
}
